package com.ydc.ln.tutorial.j2se.ms;


/**
 * 程序结构
 * 
 * @author ydc
 * @date 下午12:56:21 2013-7-10
 */
public class PcTest {

    public static void main(String[] args) {
        new PcTest().test03(100, 233);
    }

    public void test03(int a, int b) {
        a = a ^ b;
        b = a ^ b;
        a = a ^ b;

        System.out.println("a = " + a);
        System.out.println("b = " + b);

    }

    public void test02() {
        int a = 5;
        System.out.println("value is : " + ((a > 5.5) ? 10.9 : 9));
    }

    public void test01() {
        boolean b = false;
        int a = -1;
        // assert (a > 0);
        assert b : "ddd";
        System.out.println(b);
    }

}
